const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  publicPath:"./",
  devServer:{
    open:true,
    port:8888,
    host:"localhost",


    proxy: {  //配置跨域
      '/api': {
        target: 'http://localhost:8899',  //需要解决跨域的地址
        pathRewrite: {
          '^/api': '' 
        }
      },
    }
  }
})
